package com.zmn.oms.common.constant;

/**
 * 类描述：短信微信groupId常量定义（可配置短信,微信）
 *
 * @author yule
 * @date 2019/11/01 15:22
 */
@Deprecated
public class MessageConstsName {
    /**
     * 描述：啄木鸟消息 短信/微信 groupId
     */
    public final static int ZMN_MESSAGE_ASSIGN = 1001; // 订单分单
    public final static int ZMN_MESSAGE_ASSIGN_NO_LOGIN = 1024; // 订单分单-未登录
    public final static int ZMN_MESSAGE_MASTER_HEALTH_INFO = 1011; // 工程师领单发送工程师健康信息
    public final static int ZMN_MESSAGE_TAKE = 1002; // 工程师领单
    public final static int ZMN_MESSAGE_MASTER_VISIT = 1004; // 工程师上门
    public final static int ZMN_MESSAGE_COMPLETE = 1003; // 工单完成
    public final static int ZMN_MESSAGE_CANCEL = 1006; // 工单取消
    public final static int ZMN_MESSAGE_WARRANTY_CARD = 1007; // 保修卡
    public final static int ZMN_MESSAGE_WARRANTY2 = 1008; // 收据
    public final static int ZMN_MESSAGE_VVIP = 1005; // 要客
    public final static int ZMN_MESSAGE_VISIT_CANCEL = 1015; // 上门后取消
    public final static int ZMN_MESSAGE_DEPOSIT_PAY = 1016;// 定金待支付：
    public final static int ZMN_MESSAGE_ORDER_PAY = 1017; // 完成待支付：
    public final static int ZMN_MESSAGE_QUOTATION = 1018; // 计价器定价：
    public final static int ZMN_MESSAGE_QUOTATION_UPDATE = 1019;  //计价器变更：
    public final static int ZMN_MESSAGE_WARRANTY_CARD_ADD = 4025; // 保修卡延保消息

    /**
     * 描述：言而有信消息 短信/微信 groupId
     */
    public final static int YEYX_MESSAGE_ASSIGN_NO_LOGIN = 4005; // 订单分单-未登录
    public final static int YEYX_MESSAGE_ASSIGN_TYPE_OUT = 2001; // 订单分单(保外订单)  -- 现暂无 2020.10.29 逻辑调整
    public final static int YEYX_MESSAGE_ASSIGN_TYPE_IN = 2006; // 订单分单(保内订单)  -- 现暂无 2020.10.29 逻辑调整
    public final static int YEYX_MESSAGE_TAKE_TYPE_OUT = 2002; // 工程师领单（保外）-- 现发送分单消息 2020.10.29 逻辑调整
    public final static int YEYX_MESSAGE_TAKE_TYPE_IN = 2011; // 工程师领单（保内）-- 现发送分单消息 2020.10.29 逻辑调整
    public final static int YEYX_MESSAGE_MASTER_VISIT_TYPE_IN = 2003; // 工程师上门(保内)
    public final static int YEYX_MESSAGE_COMPLETE_TYPE_OUT = 2004; // 工单完成(保外订单)
    public final static int YEYX_MESSAGE_COMPLETE_TYPE_IN = 2008; // 工单完成(保内订单)
    public final static int YEYX_MESSAGE_CANCEL_TYPE_OUT = 2005; // 工单取消(保外)
    public final static int YEYX_MESSAGE_CANCEL_TYPE_IN = 2012; // 工单取消(保内)

    /**
     * 描述：川南环保消息 短信/微信 groupId
     *
     */
    public final static int CNHB_MESSAGE_ASSIGN = 3001; // 订单分单
    public final static int CNHB_MESSAGE_ASSIGN_NO_LOGIN = 4006; // 订单分单-未登录
    public final static int CNHB_MESSAGE_TAKE = 3002; // 工程师领单
    public final static int CNHB_MESSAGE_MASTER_VISIT = 3010; // 工程师上门
    public final static int CNHB_MESSAGE_COMPLETE = 3003; // 工单完成
    public final static int CNHB_MESSAGE_CANCEL = 3004; // 工单取消
    public final static int CNHB_MESSAGE_WARRANTY_CARD = 3011; // 保修卡

    /**
     * 消息类型名称
     *
     * @param groupId 模板组Id
     * @return 模板组Id名称
     */
    public static String getMessageGroupName(int groupId) {
        switch (groupId) {
            /**
             * 描述：啄木鸟消息 短信/微信 groupId
             */
            case ZMN_MESSAGE_ASSIGN:
                return "啄木鸟-订单分单（老消息）";
            case ZMN_MESSAGE_ASSIGN_NO_LOGIN:
                return "啄木鸟-订单分单-未登录（老消息）";
            case ZMN_MESSAGE_MASTER_HEALTH_INFO:
                return "啄木鸟-工程师领单发送工程师健康信息（老消息）";
            case ZMN_MESSAGE_TAKE:
                return "啄木鸟-工程师领单（老消息）";
            case ZMN_MESSAGE_MASTER_VISIT:
                return "啄木鸟-工程师上门（老消息）";
            case ZMN_MESSAGE_COMPLETE:
                return "啄木鸟-工单完成（老消息）";
            case ZMN_MESSAGE_CANCEL:
                return "啄木鸟-工单取消（老消息）";
            case ZMN_MESSAGE_WARRANTY_CARD:
                return "啄木鸟-保修卡（老消息）";
            case ZMN_MESSAGE_WARRANTY2:
                return "啄木鸟-收据（老消息）";
            case ZMN_MESSAGE_VVIP:
                return "啄木鸟-要客（老消息）";
            case ZMN_MESSAGE_VISIT_CANCEL:
                return "啄木鸟-上门后取消（老消息）";
            case ZMN_MESSAGE_DEPOSIT_PAY:
                return "啄木鸟-定金待支付（老消息）";
            case ZMN_MESSAGE_ORDER_PAY:
                return "啄木鸟-完成待支付（老消息）";
            case ZMN_MESSAGE_QUOTATION:
                return "啄木鸟-计价器定价（老消息）";
            case ZMN_MESSAGE_QUOTATION_UPDATE:
                return "啄木鸟-计价器变更（老消息）";
            case ZMN_MESSAGE_WARRANTY_CARD_ADD:
                return "啄木鸟-保修卡延保（老消息）";

            /**
             * 描述：言而有信消息 短信/微信 groupId
             */
            case YEYX_MESSAGE_ASSIGN_TYPE_OUT:
                return "言而有信-订单分单(保外订单)（老消息）";
            case YEYX_MESSAGE_ASSIGN_NO_LOGIN:
                return "言而有信-订单分单-未登录（老消息）";
            case YEYX_MESSAGE_ASSIGN_TYPE_IN:
                return "言而有信-订单分单(保内订单)（老消息）";
            case YEYX_MESSAGE_TAKE_TYPE_OUT:
                return "言而有信-工程师领单（保外）-（现分单消息）（老消息）";
            case YEYX_MESSAGE_TAKE_TYPE_IN:
                return "言而有信-工程师领单（保内）- 现分单消息）（老消息）";
            case YEYX_MESSAGE_MASTER_VISIT_TYPE_IN:
                return "言而有信-工程师上门(保内)（老消息）";
            case YEYX_MESSAGE_COMPLETE_TYPE_OUT:
                return "言而有信-工单完成(保外订单)（老消息）";
            case YEYX_MESSAGE_COMPLETE_TYPE_IN:
                return "言而有信-工单完成(保内订单)（老消息）";
            case YEYX_MESSAGE_CANCEL_TYPE_OUT:
                return "言而有信-工单取消(保外)（老消息）";
            case YEYX_MESSAGE_CANCEL_TYPE_IN:
                return "言而有信-工单取消(保内)（老消息）";


            /**
             * 描述：川南环保消息 短信/微信 groupId
             *
             */
            case CNHB_MESSAGE_ASSIGN:
                return "川南环保-订单分单（老消息）";
            case CNHB_MESSAGE_ASSIGN_NO_LOGIN:
                return "川南环保-订单分单-未登录（老消息）";
            case CNHB_MESSAGE_TAKE:
                return "川南环保-工程师领单（老消息）";
            case CNHB_MESSAGE_MASTER_VISIT:
                return "川南环保-工程师上门（老消息）";
            case CNHB_MESSAGE_COMPLETE:
                return "川南环保-工单完成（老消息）";
            case CNHB_MESSAGE_CANCEL:
                return "川南环保-工单取消（老消息）";
            case CNHB_MESSAGE_WARRANTY_CARD:
                return "川南环保-保修卡（老消息）";

            default:
                return "未知";
        }
    }

}